#include"head.h"
int main()
{
	ST ps;
	StackInit(&ps);
	StackPush(&ps, 1);
	StackPush(&ps, 2);
	StackPush(&ps, 3);
	StackPush(&ps, 1);
	StackPush(&ps, 6);
	while (StackEmpty)
	{
		printf("%d ", StackTop(&ps));
		StackPop(&ps);
	}
	return 0;
}
